//
//  StrategyForeignStrategyParser.m
//  ITrip
//
//  Created by dllo on 15/5/29.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "StrategyForeignStrategyParser.h"

@implementation StrategyForeignStrategyParser

- (instancetype)init:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        self.pages = [NSMutableArray array];

        
        self.stratrgy_category_type = [dic[@"category_type"] integerValue];
//        NSLog(@"%ld", self.stratrgy_category_type);
        NSArray *array = [dic objectForKey:@"pages"];
        for (NSDictionary *dic1 in array) {
            StrategyPagesParser *parser = [[StrategyPagesParser alloc] init:dic1];
            [self.pages addObject:parser];
            
//            NSLog(@"%@", parser.strategy_title);
        }
    }
    return self;
}

- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@""]) {
        
    }
}

- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}



@end
